<template>
    <div id="timedelay" class="padding-inner">
      <div class="time-box">
         <Panel panelTitle="延时性能诊断-功能性">
            <template>
               <el-table  :data="tableData" height="300" border style="width: 100%" size="mini">
                  <el-table-column prop="name" label="名称">
                  </el-table-column>
                  <el-table-column prop="daihao" label="代号">
                  </el-table-column>
                  <el-table-column prop="edingzhilengliang" label="额定制冷量">
                  </el-table-column>
                  <el-table-column prop="edinggonglv" label="额定功率">
                  </el-table-column>
                  <el-table-column prop="dingpinbianpian" label="定频变频">
                  </el-table-column>
                  <el-table-column prop="yajileixing" label="压机类型">
                  </el-table-column>
                  <el-table-column prop="lengqueleixing" label="冷却类型">
                  </el-table-column>
                  <el-table-column prop="chuchangriqi" label="出厂日期">
                  </el-table-column>
                  <el-table-column prop="leijiyunxingxiaoshi" label="当前累计运行小时">
                  </el-table-column>
                  <el-table-column prop="daxiucishu" label="大修次数">
                  </el-table-column>
                  <el-table-column prop="shangcidaxiuriqi" label="上次大修日期">
                  </el-table-column>
                  <el-table-column prop="shangcibaoyangriqi" label="上次保养日期">
                  </el-table-column>
                  <el-table-column prop="shangcibaoyanghouxiaoshi" label="上次保养后运行小时">
                  </el-table-column>
                  <el-table-column prop="xiacibaoyangriqi" label="下次保养日期">
                  </el-table-column>
            
               </el-table>
            </template>
         </Panel>
      </div>
      <!-- <div class="time-box">
         <Panel panelTitle="根因诊断">
            <template>
               <el-table  :data="tableData" height="300" border style="width: 100%" size="mini">
                  <el-table-column prop="name" label="名称">
                  </el-table-column>
                  <el-table-column prop="daihao" label="代号">
                  </el-table-column>
                  <el-table-column prop="edingzhilengliang" label="额定制冷量">
                  </el-table-column>
                  <el-table-column prop="edinggonglv" label="额定功率">
                  </el-table-column>
                  <el-table-column prop="dingpinbianpian" label="定频变频">
                  </el-table-column>
                  <el-table-column prop="yajileixing" label="压机类型">
                  </el-table-column>
                  <el-table-column prop="lengqueleixing" label="冷却类型">
                  </el-table-column>
                  <el-table-column prop="chuchangriqi" label="出厂日期">
                  </el-table-column>
                  <el-table-column prop="leijiyunxingxiaoshi" label="当前累计运行小时">
                  </el-table-column>
                  <el-table-column prop="daxiucishu" label="大修次数">
                  </el-table-column>
                  <el-table-column prop="shangcidaxiuriqi" label="上次大修日期">
                  </el-table-column>
                  <el-table-column prop="shangcibaoyangriqi" label="上次保养日期">
                  </el-table-column>
                  <el-table-column prop="shangcibaoyanghouxiaoshi" label="上次保养后运行小时">
                  </el-table-column>
                  <el-table-column prop="xiacibaoyangriqi" label="下次保养日期">
                  </el-table-column>
                  
               </el-table>
            </template>
         </Panel>
      </div>
      <div class="time-box">
         <Panel panelTitle="补充根因">
            <template>
               <el-table  :data="tableData" height="300" border style="width: 100%" size="mini">
                  <el-table-column prop="name" label="名称">
                  </el-table-column>
                  <el-table-column prop="daihao" label="代号">
                  </el-table-column>
                  <el-table-column prop="edingzhilengliang" label="额定制冷量">
                  </el-table-column>
                  <el-table-column prop="edinggonglv" label="额定功率">
                  </el-table-column>
                  <el-table-column prop="dingpinbianpian" label="定频变频">
                  </el-table-column>
                  <el-table-column prop="yajileixing" label="压机类型">
                  </el-table-column>
                  <el-table-column prop="lengqueleixing" label="冷却类型">
                  </el-table-column>
                  <el-table-column prop="chuchangriqi" label="出厂日期">
                  </el-table-column>
                  <el-table-column prop="leijiyunxingxiaoshi" label="当前累计运行小时">
                  </el-table-column>
                  <el-table-column prop="daxiucishu" label="大修次数">
                  </el-table-column>
                  <el-table-column prop="shangcidaxiuriqi" label="上次大修日期">
                  </el-table-column>
                  <el-table-column prop="shangcibaoyangriqi" label="上次保养日期">
                  </el-table-column>
                  <el-table-column prop="shangcibaoyanghouxiaoshi" label="上次保养后运行小时">
                  </el-table-column>
                  <el-table-column prop="xiacibaoyangriqi" label="下次保养日期">
                  </el-table-column>
              
               </el-table>
            </template>
         </Panel>
      </div> -->
    </div>
  </template>
  
  <script>
  import Panel from '@/components/base/Panel.vue';
import { getLenshuijizu } from '@/api/monitoring'
     export default({
      name:'TimeDelay',
      components: {
      Panel
   },
   data() {
      return {
         // tableData: [],
         tableData:[ { "id": 1, "lengshuijizu_uuid": "1", "shebeileixing_uuid": "1", "name": "冷水机组1", "daihao": "LSJ1", "edingzhilengliang": "1000kW", "edinggonglv": "200kW", "dingpinbianpian": "变频", "yajileixing": "离心", "lengqueleixing": "水冷", "chuchangriqi": "2020-04-12", "leijiyunxingxiaoshi": 12000, "daxiucishu": 1, "shangcidaxiuriqi": "2023-04-12", "shangcidaxiuhouxiaoshi": 400, "xiacidaxiuriqi": "2023-04-12", "shangcibaoyangriqi": "2023-04-12", "shangcibaoyanghouxiaoshi": 400, "xiacibaoyangriqi": "2023-01-02", "yunxingshijian_uuid": "1" }, { "id": 2, "lengshuijizu_uuid": "2", "shebeileixing_uuid": "1", "name": "冷水机组2", "daihao": "LSJ2", "edingzhilengliang": "1000kW", "edinggonglv": "200kW", "dingpinbianpian": "变频", "yajileixing": "离心", "lengqueleixing": "水冷", "chuchangriqi": "2020-04-12", "leijiyunxingxiaoshi": 12000, "daxiucishu": 1, "shangcidaxiuriqi": "2023-04-12", "shangcidaxiuhouxiaoshi": 400, "xiacidaxiuriqi": "2023-04-12", "shangcibaoyangriqi": "2023-04-12", "shangcibaoyanghouxiaoshi": 400, "xiacibaoyangriqi": "2023-04-12", "yunxingshijian_uuid": "1" }, { "id": 3, "lengshuijizu_uuid": "3", "shebeileixing_uuid": "1", "name": "冷水机组3", "daihao": "LSJ3", "edingzhilengliang": "1000kW", "edinggonglv": "200kW", "dingpinbianpian": "变频", "yajileixing": "离心", "lengqueleixing": "水冷", "chuchangriqi": "2020-04-12", "leijiyunxingxiaoshi": 12000, "daxiucishu": 1, "shangcidaxiuriqi": "2023-04-12", "shangcidaxiuhouxiaoshi": 400, "xiacidaxiuriqi": "2023-04-12", "shangcibaoyangriqi": "2023-04-12", "shangcibaoyanghouxiaoshi": 400, "xiacibaoyangriqi": "2023-04-12", "yunxingshijian_uuid": "1" } ]
      }
   },
   created() {
      // this.initTestList()
   },
   methods: {
      // async initTestList() {
      //    const { data } = await getLenshuijizu();

      //    this.tableData = data.data;
      // }
   },
     })
  </script>
  
  <style scoped lang="less" >
  .time-box{
   margin-bottom: 0.4rem;
}
  </style>